FILE(GLOB SRC *.cpp *.h)

ADD_EXECUTABLE(entities_game_service WIN32 ${SRC})

INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR})

TARGET_LINK_LIBRARIES(entities_game_service
						${LIBXML2_LIBRARIES}
						nelmisc
						nelnet
						gameshare
						servershare)

NL_DEFAULT_PROPS(entities_game_service "EVA, Services: Entities Game Service (EGS)")
NL_ADD_RUNTIME_FLAGS(entities_game_service)

ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})

INSTALL(TARGETS entities_game_service RUNTIME DESTINATION sbin COMPONENT services)
